﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace DNA.Models
{
    /// <summary>
    /// Classe para instanciar o contexto das entidades
    /// </summary>
    public class Context
    {
        private static readonly DNAAnalysisEntities _instance = new DNAAnalysisEntities();

        private Context() { }

        /// <summary>
        /// Instância do objeto singleton
        /// </summary>
        public static DNAAnalysisEntities Instance
        {
            get { return _instance; }
        }
    }
}